// This file was created by Filewrap 1.1
// Little endian mode
// DO NOT EDIT

#include "../PVRTMemoryFileSystem.h"

// using 32 bit to guarantee alignment.
#ifndef A32BIT
 #define A32BIT static const unsigned int
#endif

// ******** Start: VertShader.vsh ********

// File data
static const char _VertShader_vsh[] = 
	"attribute highp   vec3  inVertex;\r\n"
	"attribute mediump vec3  inNormal;\r\n"
	"attribute mediump vec2  inTexCoord;\r\n"
	"attribute mediump vec3  inTangent;\r\n"
	"\r\n"
	"uniform highp   mat4  MVPMatrix;\r\n"
	"uniform mediump vec3  EyePosModel;\r\n"
	"\r\n"
	"varying mediump vec3  EyeDirection;\r\n"
	"varying mediump vec2  TexCoord;\r\n"
	"\r\n"
	"void main()\r\n"
	"{\r\n"
	"\t// Transform position\r\n"
	"\tgl_Position = MVPMatrix * vec4(inVertex,1.0);\r\n"
	"\t\r\n"
	"\t// Calculate direction from eye position in model space\r\n"
	"\tmediump vec3 eyeDirModel = normalize(EyePosModel - inVertex);\r\n"
	"\t\t\t\r\n"
	"\t// transform light direction from model space to tangent space\r\n"
	"\tmediump vec3 binormal = cross(inNormal, inTangent);\r\n"
	"\tmediump mat3 tangentSpaceXform = mat3(inTangent, binormal, inNormal);\r\n"
	"\tEyeDirection = eyeDirModel * tangentSpaceXform;\t\r\n"
	"\r\n"
	"\tTexCoord = inTexCoord;\r\n"
	"}\r\n";

// Register VertShader.vsh in memory file system at application startup time
static CPVRTMemoryFileSystem RegisterFile_VertShader_vsh("VertShader.vsh", _VertShader_vsh, 779);

// ******** End: VertShader.vsh ********

// This file was created by Filewrap 1.1
// Little endian mode
// DO NOT EDIT

#include "../PVRTMemoryFileSystem.h"

// using 32 bit to guarantee alignment.
#ifndef A32BIT
 #define A32BIT static const unsigned int
#endif

// ******** Start: VertShader.vsc ********

// File data
A32BIT _VertShader_vsc[] = {
0x10fab438,0xe6f80aa,0x30050100,0x2501,0xd363e337,0x2000000,0x20000000,0x51040000,0x0,0x4000000,0x0,0x19000000,0x203,0x0,0x2020000,0x1,0x0,0xc4020000,0x55535020,0x20,0x2b8,0x1,0x1,0x0,0x204,0x80,0x2,0x7d,0x0,0x8,0x0,0xffffffff,0x0,0x122000a,0xffff,0x5000e,0x0,0x0,0x14,0x0,0x0,0x0,0x0,0xfffc,0x0,0x0,0x0,0xffff0003,0xffffffff,0x120000,0x80000e,0x140002,0x0,0x150002,0x100000,0x160002,0x1,0x170002,0x100001,0x40001,0x2,0x50001,0x3,0x60001,
0x4,0x70001,0x5,0x80001,0x6,0x90001,0x7,0xa0001,0x8,0xb0001,0x9,0xc0001,0xa,0xd0001,0xb,0xe0001,0xc,0xf0001,0xd,0x100001,0xe,0x110001,0xf,0x120001,0x10,0x130001,0x11,0x3777,0xffffffff,0xffffffff,0x0,0x0,0x4,0x20003,0xf0000,0x80010002,0x80018001,0x8001,0x0,0x0,0x0,0x0,0x0,0x10000,0x10001,0x10000,0x10001,0x70601a54,0xe21084,0x70e09a56,0xc21086,0x60c204,0x801402,0xa061c383,0x801006,0x80400180,0x8801200,0x1001c130,0x811004,0xa0e00600,0x28a11001,0xf060060d,0x38ab0606,0xf0604811,
0x38820606,0xf0608a15,0x38820606,0x701f1a18,0xa21001,0xf000070f,0x38ab0606,0xf0004913,0x38820606,0xf0008b17,0x38820606,0x705f1a1a,0xa21001,0x2,0x2000b,0x80008001,0x80008001,0x0,0x0,0x4,0x10000,0x1,0x10000,0x10001,0x1000000,0x100,0x81b0fa10,0x10001020,0x50100a1,0x6068001,0x840038ab,0x100eb061,0x82810081,0x1002b000,0x3000081,0x1001a0c0,0x2810080,0x6068002,0x48038ab,0x100eb021,0x43020081,0x4068002,0x450038ba,0x100eb041,0x5000081,0x1001a080,0x20080,0x20000,0x80000002,0x40098001,0x4009,0x0,0x40000,0x9090000,0x30001,0x1fa10,0x200120a0,0x210a0,0x10000,0x80010002,0x80018001,0x8001,0x0,0x40000,
0x1010101,0xfa100000,0x6,0x803f1800,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x9000000,0x65566e69,0x78657472,0x4000000,0x304,0x1000001,0x40000,0x67000007,0x6f505f6c,0x69746973,0x6e6f,0x3050501,0x10000,0x100,0xf0004,0x50564d00,0x7274614d,0x7869,0x3031600,0x10000,0x4000100,0xffff10,0x65794500,0x4d736f50,0x6c65646f,0x4000000,0x203,0x1000001,0x31400,0x69000007,0x726f4e6e,0x6c616d,0x4040000,0x1000002,0x10000,0x7000404,0x6e690000,
0x676e6154,0x746e65,0x4040000,0x1000002,0x10000,0x7000408,0x79450000,0x72694465,0x69746365,0x6e6f,0x2050400,0x10000,0x100,0x70003,0x78655400,0x726f6f43,0x64,0x20503,0x100,0x2040001,0x300,0x65546e69,0x6f6f4378,0x6472,0x2040300,0x10000,0xc000100,0x30004,0x0,
};

// Register VertShader.vsc in memory file system at application startup time
static CPVRTMemoryFileSystem RegisterFile_VertShader_vsc("VertShader.vsc", _VertShader_vsc, 1137);

// ******** End: VertShader.vsc ********

